/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package core.model;

import core.version.Version;

/**
 * chứa các thông tin của client
 *
 * @author Dung Pham
 */
public class ClientInfor {
    
    private String providerID;
    private String carier;  //mobifone, vinaphone...
    private String model;   //iphone, galaxy...
    private String phoneOS; //symbians, android, ios... bao gồm luôn cả version
    private String connectionType;  //3G, wifi, gprs...
    private Version clientVersion;
    
    public ClientInfor() {
        
    }

    /**
     * @return the providerID
     */
    public String getProviderID() {
        return providerID;
    }

    /**
     * @param providerID the providerID to set
     */
    public void setProviderID(String providerID) {
        this.providerID = providerID;
    }

    /**
     * @return the carier
     */
    public String getCarier() {
        return carier;
    }

    /**
     * @param carier the carier to set
     */
    public void setCarier(String carier) {
        this.carier = carier;
    }

    /**
     * @return the model
     */
    public String getModel() {
        return model;
    }

    /**
     * @param model the model to set
     */
    public void setModel(String model) {
        this.model = model;
    }

    /**
     * @return the phoneOS
     */
    public String getPhoneOS() {
        return phoneOS;
    }

    /**
     * @param phoneOS the phoneOS to set
     */
    public void setPhoneOS(String phoneOS) {
        this.phoneOS = phoneOS;
    }

    /**
     * @return the connectionType
     */
    public String getConnectionType() {
        return connectionType;
    }

    /**
     * @param connectionType the connectionType to set
     */
    public void setConnectionType(String connectionType) {
        this.connectionType = connectionType;
    }

    /**
     * @return the clientVersion
     */
    public Version getClientVersion() {
        return clientVersion;
    }

    /**
     * @param clientVersion the clientVersion to set
     */
    public void setClientVersion(String clientVersion) {
        this.clientVersion = new Version(clientVersion);
    }
}
